package cn.udinghuo.model.voucher.freight.vo;

import com.fasterxml.jackson.annotation.JsonSetter;

import org.springframework.util.Assert;
import java.io.Serializable;
import java.math.BigDecimal;	
import cn.udinghuo.model.voucher.freight.ConditionsFreePostage;	
import cn.udinghuo.model.voucher.freight.FreightComputeLogicEnum;	
import cn.udinghuo.model.voucher.freight.FreightUsableDistrictEnum;	
import cn.udinghuo.model.voucher.freight.FreightWaySettings;	
import cn.udinghuo.model.voucher.freight.FreightWayTypeEnum;	
import java.util.List;	

/**
 * @author xufla
 *	运费规则对象
 */
public class FreightRuleVo implements Serializable{

	private static final long serialVersionUID = -771751937L;
	/**
	* 运费规则IDruleId
	*/
	public Long ruleId;
	/**
	* 操作状态actionStatus
	*/
	public String actionStatus;
	/**
	* 运费方式IDruleWayId
	*/
	public Long ruleWayId;
	/**
	* 标题title
	*/
	public String title;
	/**
	* 是否默认模板defaultRule
	*/
	public Boolean defaultRule;
	/**
	* 运费方式freightWayType
	*/
	public Short freightWayType;
	/**
	* 统一金额设置uniformPrice
	*/
	public BigDecimal uniformPrice;
	/**
	* 计算逻辑(数量，重量，单位时使用)computeLogic
	*/
	public Short computeLogic;
	/**
	* 默认配送地区usableDistrict
	*/
	public Short usableDistrict;
	/**
	* 运费方式维度freightWaySettings
	*/
	public List<FreightWaySettings> freightWaySettings;
	/**
	* 是否条件包邮activateConditionsFreePostage
	*/
	public Boolean activateConditionsFreePostage;
	/**
	* 条件包邮conditionsFreePostage
	*/
	public ConditionsFreePostage conditionsFreePostage;

    @Override
    public String toString() {
        return super.toString();
    }
}
